package com.zspace.lwq.boot.consumer;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

import java.io.IOException;


@EnableDubbo
@EnableHystrix // 启动hystrix
@SpringBootApplication
public class MainApplication {

    public static void main(String[] args) throws IOException {

        SpringApplication.run(MainApplication.class, args);

    }

}
